<?php

require_once(WSB_XTENSION_PATH . 'simpleshop/models/DbTable/Category/Rowset.php');
require_once(WSB_XTENSION_PATH . 'simpleshop/models/DbTable/Category/Row.php');

class Simpleshop_Model_DbTable_Category_Table extends WSB_Db_Table
{

    protected $_name 			= 'xt_simpleshop_category';
    protected $_primary 		= 'id';
    protected $_rowsetClass 	= 'Simpleshop_Model_DbTable_Category_Rowset';
    protected $_rowClass 		= 'Simpleshop_Model_DbTable_Category_Row';
    protected $_dependentTables = array('Simpleshop_Model_DbTable_Article_Table','Simpleshop_Model_DbTable_Category_Table');
    protected $_referenceMap    = array(
        'Xtsimpleshop' => array(
            'columns'		=> 'pid',
            'refTableClass'	=> 'Simpleshop_Model_DbTable_Category_Table',
            'refColumns'	=> 'id'
        )
    );

	protected $_listcols = array('id', 'pid', 'sorting', 'title');

}